<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>查询信息</title>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<script src="../../../script/base-import.js"></script>
	<script src="js/editQuery.js"></script>
</head>
<body>
<div class="page-toolbar">
	<div class="page-toolbar-right">
		<a class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0)" onclick="saveData()">确定</a> 
		<a class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0)" onclick="closeWin()">取消</a>
	</div>
</div>
<form id="addForm">
	<input type="hidden" id="id"/>
	<div class="layout-edit-table">
		<div class="layout-edit-cell">
			<div class="layout-edit-title">表名：</div>
			<div class="layout-edit-input" id="tableName"></div>
		</div>
		<div class="layout-edit-cell">
			<div class="layout-edit-title">标题：</div>
			<div class="layout-edit-input"><input id="name" rule="isNotNull" style="width: 120px;"/></div>
		</div>
		<div class="layout-edit-cell">
			<div class="layout-edit-title">字段：</div>
			<div class="layout-edit-input"><input id="fieldName" rule="isNotNull" style="width: 120px;"/></div>
		</div>
		<div class="layout-edit-cell">
			<div class="layout-edit-title">类型：</div>
			<div class="layout-edit-input">
				<select id="type" style="width: 120px;" onchange="changeType(this.value)">
					<option value="text">文本</option>
					<option value="number">数字</option>
					<option value="select">下拉框</option>
					<option value="date">时间</option>
					<option value="tree">树形结构</option>
					<option value="open">弹出选择窗口</option>
					<option value="sysValue">后台取值</option>
				</select>
			</div>
		</div>
		<div class="layout-edit-cell">
			<div class="layout-edit-title">默认值：</div>
			<div class="layout-edit-input"><input id="defaultValue" style="width: 120px;"/></div>
		</div>
		<div class="layout-edit-cell">
			<div class="layout-edit-title">范围选项：</div>
			<div class="layout-edit-input">
				<select id="isRange" style="width: 120px;">
					<option value="0">否</option>
					<option value="1">是</option>
				</select>
			</div>
		</div>
		<div class="layout-edit-cell">
			<div class="layout-edit-title">数据选项：</div>
			<div class="layout-edit-input" style="width: 615px;"><textarea id="options" rows="3"></textarea></div>
		</div>
		<div class="layout-edit-cell">
			<div class="layout-edit-title">排序：</div>
			<div class="layout-edit-input"><input id="orderBy" rule="isNumber" style="width: 120px;"/></div>
		</div>
		<div class="layout-edit-cell">
			<div class="layout-edit-title">不能为空：</div>
			<div class="layout-edit-input">
				<select id="isNotNull" style="width: 120px;">
					<option value="0">否</option>
					<option value="1">是</option>
				</select>
			</div>
		</div>
		<div class="layout-edit-cell">
			<div class="layout-edit-title">隐藏：</div>
			<div class="layout-edit-input">
				<select id="isHide" style="width: 120px;">
					<option value="0">否</option>
					<option value="1">是</option>
				</select>
			</div>
		</div>
		<div class="layout-edit-cell">
			<div class="layout-edit-title">数据格式：</div>
			<div class="layout-edit-input"><input id="format" style="width: 120px;"/></div>
		</div>
		<div class="layout-edit-cell">
			<div class="layout-edit-title">组合字段：</div>
			<div class="layout-edit-input"><input id="queryField" style="width: 120px;"/></div>
		</div>
		<div class="layout-edit-cell">
			<div class="layout-edit-title">备注：</div>
			<div class="layout-edit-input" style="width: 615px;"><textarea id="remark" rows="3"></textarea></div>
		</div>
	</div>
</form>
</body>
</html>